package com.ruoyi.gis.service;

import java.util.List;
import com.ruoyi.gis.domain.GisLayerProductGroup;

/**
 * layer分组Service接口
 *
 * @author rww
 * @date 2023-11-16
 */
public interface IGisLayerProductGroupService
{
    /**
     * 查询layer分组
     *
     * @param id layer分组主键
     * @return layer分组
     */
    public GisLayerProductGroup selectGisLayerProductGroupById(Long id);

    /**
     * 查询layer分组列表
     *
     * @param gisLayerProductGroup layer分组
     * @return layer分组集合
     */
    public List<GisLayerProductGroup> selectGisLayerProductGroupList(GisLayerProductGroup gisLayerProductGroup);

    /**
     * 新增layer分组
     *
     * @param gisLayerProductGroup layer分组
     * @return 结果
     */
    public int insertGisLayerProductGroup(GisLayerProductGroup gisLayerProductGroup);

    /**
     * 修改layer分组
     *
     * @param gisLayerProductGroup layer分组
     * @return 结果
     */
    public int updateGisLayerProductGroup(GisLayerProductGroup gisLayerProductGroup);

    /**
     * 批量删除layer分组
     *
     * @param ids 需要删除的layer分组主键集合
     * @return 结果
     */
    public int deleteGisLayerProductGroupByIds(Long[] ids);

    /**
     * 删除layer分组信息
     *
     * @param id layer分组主键
     * @return 结果
     */
    public int deleteGisLayerProductGroupById(Long id);

    int updateGisLayerProductGroupSort(List<GisLayerProductGroup> groups);

    int updateGisLayerProductGroupChecked(GisLayerProductGroup gisLayerProductGroup);

    public int updateGisGroupChecked(GisLayerProductGroup group);

    public List<GisLayerProductGroup> selectGisLayerProductGroupByPidList(GisLayerProductGroup groupQuery);
}
